[INFO] cloning repository https://github.com/sidju/drim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sidju/drim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1721e772951867b24737fa924bfa9004630f22dd
[INFO] checking sidju/drim against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sidju/drim on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sidju/drim
[INFO] finished tweaking git repo https://github.com/sidju/drim
[INFO] tweaked toml for git repo https://github.com/sidju/drim written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/sidju/drim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d519219141c60405e6ae9b22b42702799e4531257335858bd462e7237df4ef4f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d519219141c60405e6ae9b22b42702799e4531257335858bd462e7237df4ef4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d519219141c60405e6ae9b22b42702799e4531257335858bd462e7237df4ef4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d519219141c60405e6ae9b22b42702799e4531257335858bd462e7237df4ef4f", kill_on_drop: false }`
[INFO] [stdout] d519219141c60405e6ae9b22b42702799e4531257335858bd462e7237df4ef4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97b011945d3d636d7401f0876cd297b1d466c2e89e4f8146ae694d7eaf3ad02b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "97b011945d3d636d7401f0876cd297b1d466c2e89e4f8146ae694d7eaf3ad02b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde v1.0.103
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]     Checking futures-core v0.3.4
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking smallvec v1.0.0
[INFO] [stderr]     Checking arc-swap v0.4.4
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling bindgen v0.48.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling askama_escape v0.3.0
[INFO] [stderr]     Checking mime v0.3.14
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking base64 v0.12.1
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking humansize v1.1.0
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking dtoa v0.4.4
[INFO] [stderr]     Checking urlencoding v1.0.0
[INFO] [stderr]    Compiling if_chain v1.0.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking http v0.2.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling clang-sys v0.26.4
[INFO] [stderr]     Checking unicode-normalization v0.1.11
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling nom v5.1.1
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]     Checking blake2b_simd v0.5.10
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.11.1
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]    Compiling syn v1.0.31
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking mio v0.6.20
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling cc v1.0.47
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]     Checking rust-argon2 v0.8.2
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking sqlformat v0.1.0
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking headers v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking tungstenite v0.10.1
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]     Checking multipart v0.16.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.103
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.11
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling async-stream-impl v0.2.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]     Checking tokio v0.2.21
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling async-stream v0.2.1
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling thiserror v1.0.11
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking async-native-tls v0.3.2
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]     Checking h2 v0.2.1
[INFO] [stderr]     Checking sqlx-core v0.3.5
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking tokio-tungstenite v0.10.1
[INFO] [stderr]     Checking hyper v0.13.2
[INFO] [stderr]    Compiling argonautica v0.2.0
[INFO] [stderr]    Compiling sqlx-macros v0.3.5
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking serde_json v1.0.42
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking askama_shared v0.9.1
[INFO] [stderr]     Checking validator v0.10.0
[INFO] [stderr]     Checking warp v0.2.1 (https://github.com/cjbassi/warp.git?branch=error#6175e949)
[INFO] [stderr]    Compiling validator_derive v0.10.0
[INFO] [stderr]    Compiling askama_derive v0.9.0
[INFO] [stderr]     Checking sqlx v0.3.5
[INFO] [stderr]     Checking askama v0.9.0
[INFO] [stderr]     Checking drim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | /     sqlx::query_as!(User,
[INFO] [stdout] 8  | |       "INSERT INTO users (id, nick, email, pass, role) VALUES (DEFAULT, $1, $2, $3, $4) RETURNING id, nick, email, pass, role",
[INFO] [stdout] 9  | |       &user.nick,
[INFO] [stdout] 10 | |       &user.email,
[INFO] [stdout] 11 | |       &user.pass,
[INFO] [stdout] 12 | |       &user.role
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | /     sqlx::query_as!(User,
[INFO] [stdout] 8  | |       "INSERT INTO users (id, nick, email, pass, role) VALUES (DEFAULT, $1, $2, $3, $4) RETURNING id, nick, email, pass, role",
[INFO] [stdout] 9  | |       &user.nick,
[INFO] [stdout] 10 | |       &user.email,
[INFO] [stdout] 11 | |       &user.pass,
[INFO] [stdout] 12 | |       &user.role
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     sqlx::query_as!(User,
[INFO] [stdout] 23 | |       "SELECT id, nick, email, pass, role FROM users WHERE id = $1",
[INFO] [stdout] 24 | |       id
[INFO] [stdout] 25 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     sqlx::query_as!(User,
[INFO] [stdout] 35 | |       "SELECT id, nick, email, pass, role FROM users WHERE email = $1",
[INFO] [stdout] 36 | |       email
[INFO] [stdout] 37 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     sqlx::query_as!(User,
[INFO] [stdout] 47 | |       "UPDATE users SET nick = $1, email = $2, pass = $3, role = $4 WHERE id = $5 RETURNING id, nick, email, pass, role",
[INFO] [stdout] 48 | |       &user.nick,
[INFO] [stdout] 49 | |       &user.email,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |       user.id
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:61:3
[INFO] [stdout]    |
[INFO] [stdout] 61 | /   sqlx::query!(
[INFO] [stdout] 62 | |     "INSERT INTO users(id, nick, email, pass, role) VALUES(0, 'admin', $1, $2, 'admin')
[INFO] [stdout] 63 | |      ON CONFLICT (id) DO
[INFO] [stdout] 64 | |      UPDATE SET nick = 'admin', email = $1, pass = $2, role = 'admin' WHERE users.id = 0",
[INFO] [stdout] 65 | |     &username,
[INFO] [stdout] 66 | |     &passhash
[INFO] [stdout] 67 | |   )
[INFO] [stdout]    | |___^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | /     sqlx::query_as!(User,
[INFO] [stdout] 23 | |       "SELECT id, nick, email, pass, role FROM users WHERE id = $1",
[INFO] [stdout] 24 | |       id
[INFO] [stdout] 25 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/sessions.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | /     sqlx::query_as!(User,
[INFO] [stdout] 10 | |       "SELECT users.id, users.nick, users.email, users.pass, users.role FROM sessions JOIN users ON sessions.userid = users.id WHERE sess...
[INFO] [stdout] 11 | |       parsed
[INFO] [stdout] 12 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/sessions.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query_as!(Session,
[INFO] [stdout] 22 | |       "INSERT INTO sessions (id, uuid, userid, until) VALUES (DEFAULT, $1, $2, $3) RETURNING id, uuid, userid, until",
[INFO] [stdout] 23 | |       session.uuid,
[INFO] [stdout] 24 | |       session.userid,
[INFO] [stdout] 25 | |       session.until
[INFO] [stdout] 26 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     sqlx::query_as!(User,
[INFO] [stdout] 35 | |       "SELECT id, nick, email, pass, role FROM users WHERE email = $1",
[INFO] [stdout] 36 | |       email
[INFO] [stdout] 37 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     sqlx::query_as!(User,
[INFO] [stdout] 47 | |       "UPDATE users SET nick = $1, email = $2, pass = $3, role = $4 WHERE id = $5 RETURNING id, nick, email, pass, role",
[INFO] [stdout] 48 | |       &user.nick,
[INFO] [stdout] 49 | |       &user.email,
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |       user.id
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/users.rs:61:3
[INFO] [stdout]    |
[INFO] [stdout] 61 | /   sqlx::query!(
[INFO] [stdout] 62 | |     "INSERT INTO users(id, nick, email, pass, role) VALUES(0, 'admin', $1, $2, 'admin')
[INFO] [stdout] 63 | |      ON CONFLICT (id) DO
[INFO] [stdout] 64 | |      UPDATE SET nick = 'admin', email = $1, pass = $2, role = 'admin' WHERE users.id = 0",
[INFO] [stdout] 65 | |     &username,
[INFO] [stdout] 66 | |     &passhash
[INFO] [stdout] 67 | |   )
[INFO] [stdout]    | |___^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/sessions.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | /     sqlx::query_as!(User,
[INFO] [stdout] 10 | |       "SELECT users.id, users.nick, users.email, users.pass, users.role FROM sessions JOIN users ON sessions.userid = users.id WHERE sess...
[INFO] [stdout] 11 | |       parsed
[INFO] [stdout] 12 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: DATABASE_URL not set
[INFO] [stdout]   --> src/db/sessions.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query_as!(Session,
[INFO] [stdout] 22 | |       "INSERT INTO sessions (id, uuid, userid, until) VALUES (DEFAULT, $1, $2, $3) RETURNING id, uuid, userid, until",
[INFO] [stdout] 23 | |       session.uuid,
[INFO] [stdout] 24 | |       session.userid,
[INFO] [stdout] 25 | |       session.until
[INFO] [stdout] 26 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/handlers/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/handlers/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `drim`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "97b011945d3d636d7401f0876cd297b1d466c2e89e4f8146ae694d7eaf3ad02b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97b011945d3d636d7401f0876cd297b1d466c2e89e4f8146ae694d7eaf3ad02b", kill_on_drop: false }`
[INFO] [stdout] 97b011945d3d636d7401f0876cd297b1d466c2e89e4f8146ae694d7eaf3ad02b
